<div class="col-sm-12">
    <div class="box panel-default col-sm-12 nomargin-bottom">
        <div class="box-body">
            <div class="busi-info top16">
                {{#bs-form formLayout=formLayout model=evaModel action=(action "detailSaveClick") invalid=(action "invalid")}}
                    <div class="col-xs-12 nopadding-left">
                        <!-- <div class="col-sm-2 nopadding-left bott cccc margin-top-20">
                        </div> -->
                        <div class="user-add-btn">
                          {{#if difference}}
                            {{#if addMode}}
                                {{#if detailModify}}
                                    {{#ui/mix-button class=" user-btn edit-btn" iconClass="fa-save" text='保存' }}
                                    {{/ui/mix-button}}
                                    {{#ui/mix-button class=" user-btn times-btn" iconClass="fa fa-undo" text='取消' clickAction="cancelClick" cancelClick="cancelClick" }}
                                    {{/ui/mix-button}}
                                    <!-- <button class="btn btn-primary" type="button" {{action "detailSaveClick" on="click"}}><i class="fa fa-check icon-white"></i>&ensp;保存</button>
      <button class="btn btn-light-grey" {{action "CancelClick" on="click"}}><i class="fa fa-times"></i>&ensp;取消</button> -->
                                {{else}}
                                    {{#ui/mix-button class=" user-btn edit-btn " iconClass="fa fa-edit" text='编辑' clickAction="detailModifyClick" detailModifyClick="detailModifyClick" }}
                                    {{/ui/mix-button}}
                                    <!-- <a class="font-small pull-right" {{action "detailModifyClick" on="click"}}>
      <i class="el-pencil"></i>修改</a> -->
                                {{/if}}
                            {{else}}
                                {{#if detailModify}}
                                    {{#ui/mix-button class=" user-btn edit-btn" iconClass="fa-save" text='保存' }}
                                    {{/ui/mix-button}}
                                    {{#ui/mix-button class=" user-btn times-btn" iconClass="fa fa-undo" text='取消' clickAction="cancelClick" cancelClick="cancelClick" }}
                                    {{/ui/mix-button}}
                                    <!-- <button class="btn btn-primary" type="button" {{action "detailSaveClick" on="click"}}><i class="fa fa-check icon-white"></i>&ensp;保存</button>
      <button class="btn btn-light-grey" {{action "CancelClick" on="click"}}><i class="fa fa-times"></i>&ensp;取消</button> -->
                                {{else}}
                                {{#ui/mix-button class=" user-btn edit-btn" iconClass="fa fa-edit" text='编辑' clickAction="detailModifyClick" detailModifyClick="detailModifyClick" }}
                                {{/ui/mix-button}}
                                {{#ui/mix-button class=" user-btn trash-btn" iconClass="fa fa-trash-o" text='删除' clickAction="delById" clickActParams=evaluate delById="delById" }}
                                {{/ui/mix-button}}
                                    <!-- <a class="font-small pull-right" {{action "detailModifyClick" on="click"}}>
      <i class="el-pencil"></i>修改</a> -->
                                {{/if}}
                            {{/if}}
                            {{else}}
                            {{/if}}
                        </div>
                    </div>
                    <div style="clear:both" />
                    <div class="line">
                        <div class="col-xs-12 col-sm-6 mt20 nopadding-left">
                            <div class="form-input-group label-normal">
                                <span class="input-group-addon">问卷名称：</span>
                                {{#if detailModify}}
                                    <!-- {{input class="input-group-content" value=customerInComp.name type="text"}} -->
                                    {{bs-form-element property="name" class="inline-block form-input-group" controlType="name" placeholder="必填项"}}
                                {{else}}
                                    <div class="font-light input-group-content">{{evaModel.name}}</div>
                                {{/if}}
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 mt20">
                            <div class="form-input-group label-normal">
                                <span class="input-group-addon">老人姓名：</span>
                                {{#if detailModify}}
                                    {{#if flagEdit}}
                                        <div class="font-light input-group-content">{{evaModel.customer.name}}</div>
                                    {{else}}
                                        <!-- {{bs-form-element property="customer.name" class="inline-block form-input-group" controlType="customer.name" placeholder="必填项"}} -->
                                        {{#bs-form-element class="inline-block form-input-group" controlType="customer" property="customer" }}
                                            {{#power-select class="inline-block input-group-content" placeholder="必填项" options=customerList selected=evaModel.customer searchField="name" noMatchesMessage="没有相关内容" allowClear=false onchange=(action "selectCustomer" ) as |customer|}}
                                                {{customer.name}}
                                            {{/power-select}}
                                        {{/bs-form-element}}
                                    {{/if}}
                                {{else}}
                                    <div class="font-light input-group-content">{{evaModel.customer.name}}</div>
                                {{/if}}
                            </div>

                        </div>
                    </div>
                    <div class="line">
                        <div class="col-xs-12 col-sm-6 nopadding-left">
                            <div class="form-input-group label-normal">
                                <span class="input-group-addon">评估时间：</span>
                                {{#if detailModify}}
                                    <div class="inline-block form-input-group">
                                        <!-- {{bootstrap-datepicker placeholder="点击显示日历" class="form-control" format="yyyy-mm-dd" language="zh-CN" value=evaModel.createDate changeDate="changeCreateDateAction"}} -->
                                        {{ui/addon/bs-datetimepicker date=evaModel.createDate placeholder="评估时间" locale="zh-CN" iconClasses="fa fa-calendar" value=evaModel.createDate show="dpShowAction" change="changeCreateDateAction" }}
                                    </div>
                                {{else}}
                                    <div class="font-light input-group-content">{{evaModel.createDateTimeString}}</div>
                                {{/if}}
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6">
                            <div class="form-input-group label-normal">
                                <span class="input-group-addon">评估人员：</span>
                                {{#if detailModify}}
                                    {{#if flagEdit}}
                                        <div class="font-light input-group-content">{{evaModel.user.name}}</div>
                                    {{else}}
                                        {{#bs-form-element class="inline-block form-input-group" controlType="user" property="user" }}
                                            {{#power-select class="inline-block input-group-content" placeholder="必填项" options=userList selected=parent searchField="name" noMatchesMessage="没有相关内容" allowClear=false onchange=(action "selectParent" ) as |user|}}
                                                {{user.name}}
                                            {{/power-select}}
                                        {{/bs-form-element}}
                                    {{/if}}
                                {{else}}
                                    <div class="font-light input-group-content">{{evaModel.user.name}}</div>
                                {{/if}}
                            </div>
                        </div>
                    </div>
                    <div class="line">
                        <div class="col-xs-12 col-sm-6 nopadding-left">
                            <div class="form-input-group label-normal">
                                <span class="input-group-addon">模板名称：</span>
                                {{#if detailModify}}
                                    <!-- {{bs-form-element property="model.title" class="inline-block form-input-group" controlType="model.title" placeholder="必填项"}} -->
                                    {{#bs-form-element class="inline-block form-input-group" controlType="model" property="model" }}
                                        {{#power-select class="inline-block input-group-content" placeholder="必填项" options=modelList selected=evaModel.model
                                        noMatchesMessage="没有相关内容" allowClear=false onchange=(action "selectModel" ) as |model|}}
                                            {{model.title}}
                                        {{/power-select}}
                                    {{/bs-form-element}}
                                {{else}}
                                    <div class="font-light input-group-content">{{evaModel.model.title}}</div>
                                {{/if}}
                            </div>
                        </div>
                    </div>
                    <div class="line">
                        <div class="col-xs-12 col-sm-6 nopadding-left">
                            <div class="form-input-group label-normal">
                                <span class="input-group-addon">结&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;果：</span>
                                {{#if resultShow}}
                                    <div class="font-light input-group-content  ">{{{evaModel.evaResult}}}</div>
                                {{else}}
                                    <div class="font-light input-group-content score ">{{{evaModel.evaResult}}}<span class="padding-left10">{{evaluate.levelName}}</span></div>
                                {{/if}}
                            </div>
                        </div>
                    </div>
                {{/bs-form}}
            </div>
        </div>
    </div>
</div>
<div class="col-sm-12 margin-top-40 ">
    <div class="box-body">
        <div class="col-sm-12 nopadding-left nopadding-right">
            <!-- BOX BORDER-->
            <div class="box nopadding-left nopadding-right nopadding-vertical border border-radius ">
                <div class="box-title title-background border-radius-top nopadding-left">
                    <div class="title padding-left50 nomargin-left">问卷信息</div>
                </div>
                <div class=" overflow-hidden auto-margin body-border-color">
                    <div class="padding20">
                        {{#each realQuestionList as |question index|}}
                            <div class="padding-bottom-20">问题{{question.realIndex}}:{{question.content.content}}?</div>
                            <div class="padding-bottom40">
                                {{#each question.answerList as |answer|}}
                                    <!-- <i class="fa-check-square-o"{{action "chooseAnswer" answer on="click"}}></i>{{answer.content}} -->
                                    <div class="choose-inline-block pointer" {{action "chooseAnswer" answer question on="click"}}><div class="choose-box choose-inline-block {{if answer.hasSelcted 'fa-check' ''}}"></div>&nbsp;&nbsp;<div class="choose-inline-block">{{answer.answerIndex}}、{{answer.content}}</div></div>
                                    <br />
                                {{/each}}
                            </div>
                            <!-- <br /><br />
              <div class="">已选答案为{{question.answermodel.answer.content.content}}</div> -->
                            <!-- <br /><br /> -->
                        {{/each}}
                    </div>
                </div>
            </div>
            <!-- /BOX BORDER -->
        </div>
    </div>
</div>
